#if !defined(AFX_TEMPLETPREVIEWPAGE_H__1F5ADDFC_BC4B_4186_8906_6EE700B5CC24__INCLUDED_)
#define AFX_TEMPLETPREVIEWPAGE_H__1F5ADDFC_BC4B_4186_8906_6EE700B5CC24__INCLUDED_

#include "TempletPreviewWnd.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TempletPreviewPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTempletPreviewPage dialog

class ReportField;
struct MonUnitItem;

class CTempletPreviewPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CTempletPreviewPage)

// Construction
public:
  ReportTempletHeader * GetpReportTempletHeader() const {return m_pReportTempletHeader;}
  const std::vector<ReportField *>& GetReportFields() const;
  const std::vector<MonUnitItem *>& GetMonUnitItems() const;
	CTempletPreviewWnd m_wndPreview;
	CTempletPreviewPage();
	~CTempletPreviewPage();

protected:
	ReportTempletHeader * m_pReportTempletHeader;

// Dialog Data
	//{{AFX_DATA(CTempletPreviewPage)
	enum { IDD = IDD_DIALOG_TEMPLETPREVIEWPAGE };
	CButton	m_btnPlaceHolder;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CTempletPreviewPage)
	public:
	virtual BOOL OnSetActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CTempletPreviewPage)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEMPLETPREVIEWPAGE_H__1F5ADDFC_BC4B_4186_8906_6EE700B5CC24__INCLUDED_)
